package week07.FeeTest;

public class DepManager extends  Handler {
    @Override
    public String handleRequest(double fee) {
        String res="";
        if(fee<1000) {
            res = "DepManager同意请求";
        }else{
            return this.successor.handleRequest(fee);
        }
        return res;
    }
}
